<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>S110_nRF51822/Include/ble/ble_services/ble_srv_common.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css" />
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="alias.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="alias.js"></script>

<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>


<script type="text/javascript">
  jQuery(document).ready(function () {
    if(gref){ // Number all _img and _table classes
      gref();
    }
  });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->

<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">nRF51822 BLE SDK
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('ble__srv__common_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Defines</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">S110_nRF51822/Include/ble/ble_services/ble_srv_common.h File Reference</div>  </div>
</div>
<div class="contents">
<div class="textblock"><code>#include &lt;stdint.h&gt;</code><br/>
<code>#include &lt;stdbool.h&gt;</code><br/>
<code>#include &quot;ble_types.h&quot;</code><br/>
<code>#include &quot;<a class="el" href="ble__sdk__util_8h_source.html">ble_sdk_util.h</a>&quot;</code><br/>
<code>#include &quot;ble_gap.h&quot;</code><br/>
</div>
<p><a href="ble__srv__common_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structble__srv__report__ref__t.html">ble_srv_report_ref_t</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Value of a Report Reference descriptor.  <a href="structble__srv__report__ref__t.html#details">More...</a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structble__srv__utf8__str__t.html">ble_srv_utf8_str_t</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">UTF-8 string data type.  <a href="structble__srv__utf8__str__t.html#details">More...</a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structble__srv__security__mode__t.html">ble_srv_security_mode_t</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Security settings structure.  <a href="structble__srv__security__mode__t.html#details">More...</a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structble__srv__cccd__security__mode__t.html">ble_srv_cccd_security_mode_t</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Security settings structure.  <a href="structble__srv__cccd__security__mode__t.html#details">More...</a><br/></td></tr>
<tr><td colspan="2"><h2><a name="define-members"></a>
Defines</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___s_e_r_v_i_c_e_s.html#gaeff9147171963f817ff821afaf714345">BLE_UUID_ALERT_NOTIFICATION_SERVICE</a>&#160;&#160;&#160;0x1811</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___s_e_r_v_i_c_e_s.html#ga4090520f3007fe6f90f06a6f4f8d5845">BLE_UUID_BATTERY_SERVICE</a>&#160;&#160;&#160;0x180F</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___s_e_r_v_i_c_e_s.html#ga3d14d365f34d59d4772c9f2ea2eed035">BLE_UUID_BLOOD_PRESSURE_SERVICE</a>&#160;&#160;&#160;0x1810</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___s_e_r_v_i_c_e_s.html#ga3873aff1b932b662369cfea9adbc470e">BLE_UUID_CURRENT_TIME_SERVICE</a>&#160;&#160;&#160;0x1805</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___s_e_r_v_i_c_e_s.html#gab8eac87431b53cdfaeccd6d3a15ed5ac">BLE_UUID_DEVICE_INFORMATION_SERVICE</a>&#160;&#160;&#160;0x180A</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___s_e_r_v_i_c_e_s.html#gab0db0c25a5adfbc20c267fa33af88b63">BLE_UUID_GLUCOSE_SERVICE</a>&#160;&#160;&#160;0x1808</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___s_e_r_v_i_c_e_s.html#gad977302141caea8b19e11638a93ac76d">BLE_UUID_HEALTH_THERMOMETER_SERVICE</a>&#160;&#160;&#160;0x1809</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___s_e_r_v_i_c_e_s.html#gada8a8d4952d86f3557365ce0ead40e15">BLE_UUID_HEART_RATE_SERVICE</a>&#160;&#160;&#160;0x180D</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___s_e_r_v_i_c_e_s.html#gaafd551131de655ea5987ed148170bf2d">BLE_UUID_HUMAN_INTERFACE_DEVICE_SERVICE</a>&#160;&#160;&#160;0x1812</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___s_e_r_v_i_c_e_s.html#ga4badeabf171b217259b1f67f554e8064">BLE_UUID_IMMEDIATE_ALERT_SERVICE</a>&#160;&#160;&#160;0x1802</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___s_e_r_v_i_c_e_s.html#gabdc9cfe9d896039bef555b0bfe14cbd4">BLE_UUID_LINK_LOSS_SERVICE</a>&#160;&#160;&#160;0x1803</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___s_e_r_v_i_c_e_s.html#gaaee29ba322e3872e56c903750b8bd7b2">BLE_UUID_NEXT_DST_CHANGE_SERVICE</a>&#160;&#160;&#160;0x1807</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___s_e_r_v_i_c_e_s.html#gae82dc7ee84342443d18c56a180b4a373">BLE_UUID_PHONE_ALERT_STATUS_SERVICE</a>&#160;&#160;&#160;0x180E</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___s_e_r_v_i_c_e_s.html#ga6f93844f0577874ffd4cd437cca028fd">BLE_UUID_REFERENCE_TIME_UPDATE_SERVICE</a>&#160;&#160;&#160;0x1806</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___s_e_r_v_i_c_e_s.html#ga68511464f08fdbba54de28898662f6fe">BLE_UUID_SCAN_PARAMETERS_SERVICE</a>&#160;&#160;&#160;0x1813</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___s_e_r_v_i_c_e_s.html#gabe5ff0bce57a32f58a1e16913a38ce04">BLE_UUID_TX_POWER_SERVICE</a>&#160;&#160;&#160;0x1804</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#ga074202780ef8ef0322384d2752133ca3">BLE_UUID_BATTERY_LEVEL_STATE_CHAR</a>&#160;&#160;&#160;0x2A1B</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#ga852f204fe6cccdb6c886266f473bcb57">BLE_UUID_BATTERY_POWER_STATE_CHAR</a>&#160;&#160;&#160;0x2A1A</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#ga664915dfa9a21a5d72bd57809d0a7521">BLE_UUID_REMOVABLE_CHAR</a>&#160;&#160;&#160;0x2A3A</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#ga28874bd6e2f9043ff5af8650d2c6cac4">BLE_UUID_SERVICE_REQUIRED_CHAR</a>&#160;&#160;&#160;0x2A3B</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#gafece2628804d8b7950647440166bd0dd">BLE_UUID_ALERT_CATEGORY_ID_CHAR</a>&#160;&#160;&#160;0x2A43</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#gad6263d2a8007f7aae3fe2f98e3443f92">BLE_UUID_ALERT_CATEGORY_ID_BIT_MASK_CHAR</a>&#160;&#160;&#160;0x2A42</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#ga7e1c4add4327121e5ee93a8dce603c28">BLE_UUID_ALERT_LEVEL_CHAR</a>&#160;&#160;&#160;0x2A06</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#ga1f4a8198e360b88703451d62d0fdeee2">BLE_UUID_ALERT_NOTIFICATION_CONTROL_POINT_CHAR</a>&#160;&#160;&#160;0x2A44</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#gaf59c96168a42746869b4fddef543aa9f">BLE_UUID_ALERT_STATUS_CHAR</a>&#160;&#160;&#160;0x2A3F</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#ga2d4368e048443fcb6d5ec5b11fe227c8">BLE_UUID_BATTERY_LEVEL_CHAR</a>&#160;&#160;&#160;0x2A19</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#ga4eb8d4e48239e4341fc68449478346e0">BLE_UUID_BLOOD_PRESSURE_FEATURE_CHAR</a>&#160;&#160;&#160;0x2A49</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#ga95fc99c7a99cf9d991c81027e4866936">BLE_UUID_BLOOD_PRESSURE_MEASUREMENT_CHAR</a>&#160;&#160;&#160;0x2A35</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#ga6c4ed03e36ad601161835e9f8f5df48e">BLE_UUID_BODY_SENSOR_LOCATION_CHAR</a>&#160;&#160;&#160;0x2A38</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#ga94d261ee725a4b6c163d9fac8e846583">BLE_UUID_BOOT_KEYBOARD_INPUT_REPORT_CHAR</a>&#160;&#160;&#160;0x2A22</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#ga9504eca7b4df3ce415dad46abd2ea24f">BLE_UUID_BOOT_KEYBOARD_OUTPUT_REPORT_CHAR</a>&#160;&#160;&#160;0x2A32</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#ga62fbfe0ad9fac820ca7e840e637b886b">BLE_UUID_BOOT_MOUSE_INPUT_REPORT_CHAR</a>&#160;&#160;&#160;0x2A33</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#gab8d3b6d44f5d580410219ad4a302d69d">BLE_UUID_CURRENT_TIME_CHAR</a>&#160;&#160;&#160;0x2A2B</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#ga3883e83e6551a17ec30ea5d0742925bd">BLE_UUID_DATE_TIME_CHAR</a>&#160;&#160;&#160;0x2A08</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#gac59b6213c0bb24a5a0d8f14f0e9c2dae">BLE_UUID_DAY_DATE_TIME_CHAR</a>&#160;&#160;&#160;0x2A0A</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#ga3901d2c8e48d76f4bdd9e9d69e821935">BLE_UUID_DAY_OF_WEEK_CHAR</a>&#160;&#160;&#160;0x2A09</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#ga710752f6b7aaf4e90313832f9750bef4">BLE_UUID_DST_OFFSET_CHAR</a>&#160;&#160;&#160;0x2A0D</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#ga1ab2795a93cef9ae076027e04819aa2b">BLE_UUID_EXACT_TIME_256_CHAR</a>&#160;&#160;&#160;0x2A0C</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#ga7ff0e67deccd8dda48960197b0154a31">BLE_UUID_FIRMWARE_REVISION_STRING_CHAR</a>&#160;&#160;&#160;0x2A26</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#ga6442ec575fbda7af8599107f35a13188">BLE_UUID_GLUCOSE_FEATURE_CHAR</a>&#160;&#160;&#160;0x2A51</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#ga57c27f6eefe660180a56186b00eba61d">BLE_UUID_GLUCOSE_MEASUREMENT_CHAR</a>&#160;&#160;&#160;0x2A18</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#gacc1ae461f72bb727b305a8be76e2ecb4">BLE_UUID_GLUCOSE_MEASUREMENT_CONTEXT_CHAR</a>&#160;&#160;&#160;0x2A34</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#gae29e769199c4324a4f0123d37b115c0f">BLE_UUID_HARDWARE_REVISION_STRING_CHAR</a>&#160;&#160;&#160;0x2A27</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#ga4753e9ae8653ec1c3217a3ab65942f64">BLE_UUID_HEART_RATE_CONTROL_POINT_CHAR</a>&#160;&#160;&#160;0x2A39</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#ga2aa05a5800902525167c99d2a9dbe24b">BLE_UUID_HEART_RATE_MEASUREMENT_CHAR</a>&#160;&#160;&#160;0x2A37</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#ga41e3674c6345ca159cae6a7f2260626e">BLE_UUID_HID_CONTROL_POINT_CHAR</a>&#160;&#160;&#160;0x2A4C</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#ga135c81eceb357731fd6ca37f6a8831b9">BLE_UUID_HID_INFORMATION_CHAR</a>&#160;&#160;&#160;0x2A4A</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#ga033523799a247bd7c0806569e38c6863">BLE_UUID_IEEE_REGULATORY_CERTIFICATION_DATA_LIST_CHAR</a>&#160;&#160;&#160;0x2A2A</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#gabb055d0a0c07ddc9c8cfc1e5087952b4">BLE_UUID_INTERMEDIATE_CUFF_PRESSURE_CHAR</a>&#160;&#160;&#160;0x2A36</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#gabeb38d1ef6cfcf5d11ecb27f911144cf">BLE_UUID_INTERMEDIATE_TEMPERATURE_CHAR</a>&#160;&#160;&#160;0x2A1E</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#gaff5bf5d1a58b7ab49de3610103b99a0c">BLE_UUID_LOCAL_TIME_INFORMATION_CHAR</a>&#160;&#160;&#160;0x2A0F</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#ga8f8578321e635bf151c277cfc1f4a152">BLE_UUID_MANUFACTURER_NAME_STRING_CHAR</a>&#160;&#160;&#160;0x2A29</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#ga35c49d1b7c3ddb1d4fcd45fc103f2e48">BLE_UUID_MEASUREMENT_INTERVAL_CHAR</a>&#160;&#160;&#160;0x2A21</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#ga532c5062edf52c03c15eb326b9e0a197">BLE_UUID_MODEL_NUMBER_STRING_CHAR</a>&#160;&#160;&#160;0x2A24</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#gafa2b0f5ab54f9adb7557f4e6683f2635">BLE_UUID_NEW_ALERT_CHAR</a>&#160;&#160;&#160;0x2A46</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#gaf60a9da39d7c0ee6b8d0340e1135a1f3">BLE_UUID_PNP_ID_CHAR</a>&#160;&#160;&#160;0x2A50</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#gaca379d6676c9d33db4a169702dfad527">BLE_UUID_PROTOCOL_MODE_CHAR</a>&#160;&#160;&#160;0x2A4E</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#ga5fb7a8bba8e429bc819f6a1fb69d8239">BLE_UUID_RECORD_ACCESS_CONTROL_POINT_CHAR</a>&#160;&#160;&#160;0x2A52</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#gaa27480b4216ccff554488f82919d4434">BLE_UUID_REFERENCE_TIME_INFORMATION_CHAR</a>&#160;&#160;&#160;0x2A14</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#ga68c96a715e7da13a4c19e699604475be">BLE_UUID_REPORT_CHAR</a>&#160;&#160;&#160;0x2A4D</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#ga924b7414f19f56ab5a88bd4cabd96094">BLE_UUID_REPORT_MAP_CHAR</a>&#160;&#160;&#160;0x2A4B</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#ga689395a3cf7acf0edbc45977cd015083">BLE_UUID_RINGER_CONTROL_POINT_CHAR</a>&#160;&#160;&#160;0x2A40</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#ga638141dc5c22f259a53cb79266e75208">BLE_UUID_RINGER_SETTING_CHAR</a>&#160;&#160;&#160;0x2A41</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#gafb3719931db746f3dbe11c13460bc988">BLE_UUID_SCAN_INTERVAL_WINDOW_CHAR</a>&#160;&#160;&#160;0x2A4F</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#ga5470bc2d9deff67f1c10c56ba00b559c">BLE_UUID_SCAN_REFRESH_CHAR</a>&#160;&#160;&#160;0x2A31</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#ga417d8b27e6bbbfe6016393a4808dae08">BLE_UUID_SERIAL_NUMBER_STRING_CHAR</a>&#160;&#160;&#160;0x2A25</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#gaae2190189c63a43632f3b060759d7d44">BLE_UUID_SOFTWARE_REVISION_STRING_CHAR</a>&#160;&#160;&#160;0x2A28</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#ga637b5bc14f79dfd28a3ae60c0b2e7e8a">BLE_UUID_SUPPORTED_NEW_ALERT_CATEGORY_CHAR</a>&#160;&#160;&#160;0x2A47</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#gad34a2683b0b1e7960b5aa48c9d99d0d7">BLE_UUID_SUPPORTED_UNREAD_ALERT_CATEGORY_CHAR</a>&#160;&#160;&#160;0x2A48</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#gab64d330c6022106955c0b825649d9485">BLE_UUID_SYSTEM_ID_CHAR</a>&#160;&#160;&#160;0x2A23</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#ga116088a425b8736b9a6e3b7b5acb55b1">BLE_UUID_TEMPERATURE_MEASUREMENT_CHAR</a>&#160;&#160;&#160;0x2A1C</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#gac62318d1d32150d894ba29a149bd5893">BLE_UUID_TEMPERATURE_TYPE_CHAR</a>&#160;&#160;&#160;0x2A1D</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#gabe1f59d03236bab5b9a5d3bbd0f533e5">BLE_UUID_TIME_ACCURACY_CHAR</a>&#160;&#160;&#160;0x2A12</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#gaa0f1123516f1f49eb89f9ec870cb2f83">BLE_UUID_TIME_SOURCE_CHAR</a>&#160;&#160;&#160;0x2A13</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#ga986f470be4f73ff48daa6707079dbef1">BLE_UUID_TIME_UPDATE_CONTROL_POINT_CHAR</a>&#160;&#160;&#160;0x2A16</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#gad027270f8853c645b9a895c20dcbce23">BLE_UUID_TIME_UPDATE_STATE_CHAR</a>&#160;&#160;&#160;0x2A17</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#gac02eb48093ab04ceee64b9e72b4d376f">BLE_UUID_TIME_WITH_DST_CHAR</a>&#160;&#160;&#160;0x2A11</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#ga2c9693917f27dd6271c75669210d87e0">BLE_UUID_TIME_ZONE_CHAR</a>&#160;&#160;&#160;0x2A0E</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#gaae53fe783458ecace3f00122d67868d4">BLE_UUID_TX_POWER_LEVEL_CHAR</a>&#160;&#160;&#160;0x2A07</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#ga2972d92af18490b81dd0679328d199c4">BLE_UUID_EXTERNAL_REPORT_REF_DESCR</a>&#160;&#160;&#160;0x2907</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u_u_i_d___c_h_a_r_a_c_t_e_r_i_s_t_i_c_s.html#gaee4c1d5c54af835b686f10af4e630274">BLE_UUID_REPORT_REF_DESCR</a>&#160;&#160;&#160;0x2908</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___c_c_c_d___b_i_t_s.html#gabef044409e39baf59eeb9a12e6d51318">BLE_CCCD_NOTIFY_BIT_MASK</a>&#160;&#160;&#160;0x0001</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___c_c_c_d___b_i_t_s.html#gaf60d0b3dfa7413d7a7ce20de06b413a3">BLE_CCCD_INDICATE_BIT_MASK</a>&#160;&#160;&#160;0x0002</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_l_e_r_t___l_e_v_e_l___v_a_l_u_e_s.html#ga19af58d002f35b548719d7043562cee7">BLE_CHAR_ALERT_LEVEL_NO_ALERT</a>&#160;&#160;&#160;0x00</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_l_e_r_t___l_e_v_e_l___v_a_l_u_e_s.html#gaf4fb46aeec8acd50f37f0e6277e45cee">BLE_CHAR_ALERT_LEVEL_MILD_ALERT</a>&#160;&#160;&#160;0x01</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_l_e_r_t___l_e_v_e_l___v_a_l_u_e_s.html#ga9fc865fa1b7f643d40c5e43dc81c0556">BLE_CHAR_ALERT_LEVEL_HIGH_ALERT</a>&#160;&#160;&#160;0x02</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__srv__common.html#gafbfc0ef111ca725cc8bb500fd93301cc">BLE_SRV_ENCODED_REPORT_REF_LEN</a>&#160;&#160;&#160;2</td></tr>
<tr><td colspan="2"><h2><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gac10076d39c0ddcfe333252fe8810a1f1"></a><!-- doxytag: member="ble_srv_common.h::ble_srv_error_handler_t" ref="gac10076d39c0ddcfe333252fe8810a1f1" args=")(uint32_t nrf_error)" -->
typedef void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__srv__common.html#gac10076d39c0ddcfe333252fe8810a1f1">ble_srv_error_handler_t</a> )(uint32_t nrf_error)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Type definition for error handler function which will be called in case of an error in a service or a service library module. <br/></td></tr>
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static __INLINE bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__srv__common.html#ga11fd3cc1b15d4bec4accc37618305ccb">ble_srv_is_notification_enabled</a> (uint8_t *p_encoded_data)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Inline function for decoding a CCCD value, and then testing if notification is enabled.  <a href="group__ble__sdk__srv__common.html#ga11fd3cc1b15d4bec4accc37618305ccb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static __INLINE bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__srv__common.html#gaf572afefe05bacfb4d5967d9c5a6c5e6">ble_srv_is_indication_enabled</a> (uint8_t *p_encoded_data)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Inline function for decoding a CCCD value, and then testing if indication is enabled.  <a href="group__ble__sdk__srv__common.html#gaf572afefe05bacfb4d5967d9c5a6c5e6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__srv__common.html#gaebc3fc5316f1a6a67e830516b8f9aed5">ble_srv_report_ref_encode</a> (uint8_t *p_encoded_buffer, const <a class="el" href="structble__srv__report__ref__t.html">ble_srv_report_ref_t</a> *p_report_ref)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Encode a Report Reference Descriptor.  <a href="group__ble__sdk__srv__common.html#gaebc3fc5316f1a6a67e830516b8f9aed5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__srv__common.html#ga611dfcf7209a57c2e45964e8bb4c5756">ble_srv_ascii_to_utf8</a> (<a class="el" href="structble__srv__utf8__str__t.html">ble_srv_utf8_str_t</a> *p_utf8, char *p_ascii)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Make UTF-8 structure refer to an ASCII string.  <a href="group__ble__sdk__srv__common.html#ga611dfcf7209a57c2e45964e8bb4c5756"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock">
<p>Definition in file <a class="el" href="ble__srv__common_8h_source.html">ble_srv_common.h</a>.</p>
</div></div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="ble__srv__common_8h.html">ble_srv_common.h</a>      </li>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>


    <li class="footer">
      Copyright &copy 2006-2011 <a href="http://www.nordicsemi.no" style="text-decoration:none">Nordic Semiconductor</a>.
      All Rights Reserved.
      <a href="disclaimer.html">Disclaimer</a>
    </li>
   </ul>
 </div>


</body>
</html>
